/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.content {
  width: 100%;

  .card {
    margin-bottom: 8px;
  }

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    .right {
      > .search {
        .list {
          float: right;
          margin: 3px 0 3px 4px;
        }
      }
    }
  }
}

.table {
  table {
    width: 100%;
    tr {
      height: 40px;
      font-size: 12px;
      th,
      td {
        &:nth-child(1) {
          width: 50px;
          text-align: center;
        }
      }
      th {
        &:nth-child(1) {
          width: 60px;
          text-align: center;
        }
        > span {
          font-size: 12px;
          color: #555;
        }
      }
    }
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.startup {
  align-items: center;
  > div:first-child {
    width: 86%;
  }
}

.batch-button {
  position: absolute;
  bottom: 10px;
  left: 10px;
  > div {
    margin-right: 5px;
  }
}

.formItem {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
}

.workflow-name {
  :global {
    div:first-child {
      width: calc(100% - 32px);

      .n-button,
      .n-button__content {
        width: 100%;
        span {
          padding-bottom: 1px;
        }
      }
    }
  }
}
